/**
 * 
 */
package model;

/**
 * @author Anthares
 *
 */
public enum AppSettingsEnum {
	UNKNOWN(0),PRIX_VENTE_RELIURE(1), PRIX_VENTE_PAGE(2);
	
	private int id;
	
	private AppSettingsEnum(int id){
		this.id = id;
	}
	
	public int getID(){
		return id;
	}
	
	public static AppSettingsEnum valueOf(int id){
		switch(id){
		case 1 : return PRIX_VENTE_RELIURE;
		case 2 : return PRIX_VENTE_PAGE;
		default : return UNKNOWN;
		}
	}
}
